﻿// 1.1.6.10. Write a program that reads from the console a positive integer number N (N < 20) and
// outputs a matrix like the following: N = 3 -> 1 2 3
//                                               2 3 4
//                                               3 4 5

using System;

class MatrixExample
{
    static void Main()
    {
        int userInput = int.Parse(Console.ReadLine());
        for (int row = 1; row <= userInput; row++)
        {
            for (int i = row; i < row + userInput; i++)
            {
                Console.Write(i + " ");
            }
            Console.WriteLine();
        }
    }
}
